
Set BasePath=%~dp0

net stop r2 & %BasePath%\nssm remove r2 confirm

pause